package pers.zc.activiti.service;

/**
 * @Annotion:
 * @ClassName: TestThreadService
 * @Author: Lin Fuyuan
 * @Date: 2019/9/26  10:35
 * @Version: 1.0
 */
public class TestThreadService {
    public static void main(String[] args) {
        System.out.println(testFinally());
    }

    public static int testFinally(){
        try{

            try{
                return 2;
            }finally{
                System.out.println(3);
                return 4;
            }
        }catch(Exception e){
            e.printStackTrace();
        }finally {
            return 6;
        }

    }

}
